package com.detection.dahua.service;

import com.detection.dahua.model.brm.device.*;
import com.detection.dahua.model.datasync.DataSync;

import java.util.List;

public interface IDahuaDeviceService {

    /**
     * 设备树查询
     *
     * @param deviceTreeRequest
     * @return
     */
    public DeviceTreeResponse getDeviceTree(DeviceTreeRequest deviceTreeRequest);

    public DevicePageResponse getDevicePage(DevicePageRequest devicePageRequest);

    public List<DevicePageResponse> getAccessDeviceList();

    /**
     * 分页获取设备信息
     * @param channelPageRequest
     * @return
     */
    public ChannelPageResponse getChannelPage(ChannelPageRequest channelPageRequest);
    /**
     * 获取全量设备信息
     */
    public void getDeviceList();

    /**
     * 获取视频设备在线、离线数
     */
    public Integer[] getDeviceOnlineStatus();

    List<DataSync> getDeviceTreeSync(DeviceTreeRequest deviceTreeRequest);

}
